import { createApp } from 'vue'
import { createPinia } from 'pinia'
import components from '@/components/index';

import '@/styles/index.scss'
import router from '@/router/index'
import App from './App.vue'
import '@/utils/prevent-default'

import 'virtual:svg-icons-register'; // svg注册器

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(components)

app.mount('#app')
